package com.crm.dataReceive.domain;


import com.ruoyi.common.utils.SecurityUtil;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 分发系统数据请求参数实体
 *
 * @author Mr.Wen
 * @date 2021-11-17 23:10:56
 */
public class Customer {
    /*** 分发系统客户ID*/
    private Integer customerId;
    /*** 姓名*/
    private String custName;
    /*** 手机号*/
    private String mobile;
    /*** 年龄*/
    private Long age;
    /*** 性别（1-男,2-女,0-无）*/
    private String sex;
    /*** 城市*/
    private String city;
    /*** 申请金额*/
    private BigDecimal applyLimit;
    /*** 媒体来源*/
    private String mediaSource;
    /*** 渠道来源*/
    private String channelSource;
    /*** 渠道说明*/
    private String channelDesc;
    /*** 备注*/
    private String remark;
    /*** 申请时间*/
    private Date applyTime;
    /*** 撞库通过标识*/
    private String passflag;

    public String getPassflag() {
        return passflag;
    }

    public void setPassflag(String passflag) {
        this.passflag = passflag;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public BigDecimal getApplyLimit() {
        return applyLimit;
    }

    public void setApplyLimit(BigDecimal applyLimit) {
        this.applyLimit = applyLimit;
    }

    public String getMediaSource() {
        return mediaSource;
    }

    public void setMediaSource(String mediaSource) {
        this.mediaSource = mediaSource;
    }

    public String getChannelSource() {
        return channelSource;
    }

    public void setChannelSource(String channelSource) {
        this.channelSource = channelSource;
    }

    public String getChannelDesc() {
        return channelDesc;
    }

    public void setChannelDesc(String channelDesc) {
        this.channelDesc = channelDesc;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Customer{");
        sb.append("customerId=").append(customerId);
        sb.append(", custName='").append(custName).append('\'');
        sb.append(", mobile='").append(SecurityUtil.getMobile(mobile)).append('\'');
        sb.append(", age=").append(age);
        sb.append(", sex='").append(sex).append('\'');
        sb.append(", city='").append(city).append('\'');
        sb.append(", applyLimit=").append(applyLimit);
        sb.append(", mediaSource='").append(mediaSource).append('\'');
        sb.append(", channelSource='").append(channelSource).append('\'');
        sb.append(", channelDesc='").append(channelDesc).append('\'');
        sb.append(", remark='").append(remark).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
